package io.renren.system.sys.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * 系统用户表
 */
@Data
public class SysUserExcel {
    @Excel(name = "用户名")
    private String username;
    @Excel(name = "真实姓名")
    private String realName;
    @Excel(name = "用户性别", replace = {"男_0", "女_1", "保密_2"})
    private Integer gender;
    @Excel(name = "电子邮箱")
    private String email;
    @Excel(name = "手机号码")
    private String mobile;
    @Excel(name = "状态", replace = {"停用_0", "正常_1"})
    private Integer status;
    @Excel(name = "部门名称")
    private String deptName;
    @Excel(name = "备注")
    private String remark;
    @Excel(name = "创建时间", format = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    @Excel(name = "最后登录时间", format = "yyyy-MM-dd HH:mm:ss")
    private Date lastLoginTime;
    @Excel(name = "最后登录地址")
    private String lastLoginIp;
}
